package com.csea.app.model.vo.idiom;// ... 原有导入 ...
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 更新用户成语操作信息请求对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "更新用户成语操作信息请求对象")
public class UpdateUserIdiomOperateInfoReqVO {
    @NotNull(message = "成语ID不能为空")
    private Integer userIdiomId;

    @Schema(description = "上次复习时间（格式：yyyy-MM-dd HH:mm:ss）")
    private String lastReviewTime;

    @Schema(description = "记住次数")
    @Min(value = 0, message = "记住次数不能小于0")
    private Integer rememberCount;

    @Schema(description = "模糊次数")
    @Min(value = 0, message = "模糊次数不能小于0")
    private Integer fuzzyCount;

    @Schema(description = "遗忘次数")
    @Min(value = 0, message = "遗忘次数不能小于0")
    private Integer forgetCount;

    @Schema(description = "正确次数")
    @Min(value = 0, message = "正确次数不能小于0")
    private Integer correctCount;

    @Schema(description = "错误次数")
    @Min(value = 0, message = "错误次数不能小于0")
    private Integer incorrectCount;

    @Schema(description = "卡片状态:NEW=0,  REVIEW=1, MASTERED=2, AWAIT=3,")
    @Min(0) @Max(3)
    private Integer cardStatus;

    @Schema(description = "是否标记：0-否 1-是")
    @Min(0) @Max(1)
    private Integer isFlagged;
}